package office.service.business;

import java.util.List;

import office.action.business.form.TenderCompanyConditionForm;
import office.action.business.form.TenderCompanyForm;
import office.action.business.wrapper.TenderCompanyWrapper;
import platform.common.bo.Page;
import platform.common.exception.BusinessException;

/**
 * 竞标公司管理
 * @author ZhangYQ
 *
 */
public interface ITenderCompanyService {
	/**
	 * 获取分页信息
	 * @return
	 * @throws BusinessException
	 */
	public Page getPageInfo(TenderCompanyConditionForm condition)throws BusinessException;
	/**
	 * 获取所有的销售机会
	 * @param page
	 * @return
	 * @throws BusinessException
	 */
	public List<TenderCompanyWrapper> findAllTenderCompany(TenderCompanyConditionForm condition,Page page)throws BusinessException;
	/**
	 * 编辑销售机会
	 * @param saleChanceForm
	 * @throws BusinessException
	 */
	public void editTenderCompany(TenderCompanyForm form)throws BusinessException;
	
	/**
	 * 删除销售机会
	 * @param id
	 * @throws BusinessException
	 */
	public void delTenderCompanyById(String id)throws BusinessException;
	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public TenderCompanyForm getById(String id)throws BusinessException;
	/**
	 * 根据标书的ID获取标书对应的竞标公司
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public List<TenderCompanyWrapper> findAllTenderCompanyByBidBookId(TenderCompanyConditionForm condition)throws BusinessException;
	
}
